﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Press.MVC.Services;

namespace Press.MVC.Tests
{
    public class TestAuthenticationService : IAuthenticationService
    {
        public bool IsValidLogin(string userName, string password)
        {
            return userName == "haighis" && password == "password";
        }

        public bool IsValidLogin(Uri serviceUri)
        {
            return serviceUri.AbsoluteUri.Equals("http://test.com/");
        }

        public object RegisterUser(string userName, string password, string confirmPassword, string email, string reminderQuestion, string reminderAnswer)
        {
            return true;
        }

    }
}
